package cn.edu.hit.core.transfer;

@FunctionalInterface
public interface ReduceTransfer<T, ARG> {
    T merge(T source, T source2, ARG arg);

    default boolean canParallel() {
        return false;
    }

    default boolean accept(String name) {
        return this.getClass().getName().equalsIgnoreCase(name);
    }
}
